#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <stdlib.h>
int main()
{
	//int a = -123;
	//printf("%d", a % 10);
 /*   int x = -123;
    int new;
    int tag = 0;
    if (x < 0)
    {
        tag = 1;
        new = -x;
    }
    long long num = 0;
    while (new > 0)
    {
        num = 10 * num + new % 10;
        new = new / 10;
    }
    if (num > INT_MAX || num < INT_MIN)
    {
        printf("0\n");
    }
     if(tag==0)
   {
         printf("%d", num);
   }
   else
   {
         printf("%d", -num);
   }*/
    if (2147483648 > INT_MAX)
    {
        printf("1");
    }
    else
    {
        printf("0");
    }
}